package com.jy.rhin.model.body.zhongxingjsbdj;


import com.jy.rhin.infra.cda.EDataElement;
import com.jy.rhin.infra.cda.XPath;
import com.jy.rhin.infra.cda.XValid;
import com.jy.rhin.model.CodeObject;
import lombok.Data;

@Data
public class ZhuYaoJKWT {
    //患病对家庭社会的影响类别代码
    @XPath(path = "/entry/observation/code[@code='DE03.00.023.00']/../value"
            , xValid = @XValid(type = "dataElement", dataElement = EDataElement.DE03_00_023_00, nullable = true))
    CodeObject huanBingSHYXLB;
    //患病对家庭社会的影响次数
    @XPath(path = "/entry/observation/entryRelationship/observation/code[@code='DE03.00.022.00']/../value/@value"
            , xValid = @XValid(type = "dataElement", dataElement = EDataElement.DE03_00_022_00, nullable = true))
    String huanBingSHYXCS;
    //关锁情况代码
    @XPath(path = "/entry/observation/code[@code='DE03.00.017.00']/../value"
            , xValid = @XValid(type = "dataElement", dataElement = EDataElement.DE03_00_017_00, nullable = true))
    CodeObject guanSuoQK;
    //经济状况代码
    @XPath(path = "/entry/observation/code[@code='DE02.01.023.00']/../value"
            , xValid = @XValid(type = "dataElement", dataElement = EDataElement.DE02_01_023_00, nullable = true))
    CodeObject jingJiQK;
}
